package org.base23.video.domain.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/**
 * 视频分析结果响应实体
 */
public class VideoAnalysisResult {
    
    private Integer code;
    
    private String message;
    
    private VideoAnalysisData data;
    
    public VideoAnalysisResult() {}
    
    public Integer getCode() {
        return code;
    }
    
    public void setCode(Integer code) {
        this.code = code;
    }
    
    public String getMessage() {
        return message;
    }
    
    public void setMessage(String message) {
        this.message = message;
    }
    
    public VideoAnalysisData getData() {
        return data;
    }
    
    public void setData(VideoAnalysisData data) {
        this.data = data;
    }
    
    /**
     * 视频分析数据
     */
    public static class VideoAnalysisData {
        
        @JsonProperty("videoInfo")
        private VideoInfo videoInfo;
        
        private List<FrameResult> frames;
        
        public VideoAnalysisData() {}
        
        public VideoInfo getVideoInfo() {
            return videoInfo;
        }
        
        public void setVideoInfo(VideoInfo videoInfo) {
            this.videoInfo = videoInfo;
        }
        
        public List<FrameResult> getFrames() {
            return frames;
        }
        
        public void setFrames(List<FrameResult> frames) {
            this.frames = frames;
        }
    }
} 